package com.mine.distinctionteam.ui.good;
import com.mine.distinctionteam.base.IModle;
import com.mine.distinctionteam.base.IPresenter;
import com.mine.distinctionteam.base.IView;
import com.mine.distinctionteam.bean.goods.GoodsBean;
import retrofit2.Callback;

/**
 *
 */
public class GoodsContract  {
    public interface View extends IView {
        public void getGoodsSucess(GoodsBean bean);
        public void getGoodsFail(String erro);
    }

    public interface Modle extends IModle {
        public void getGoods(String id, Callback<GoodsBean> callback);
    }

    public interface Presenter extends IPresenter {
        public void getGoods(String id);
    }
}
